package com.shop.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shop.entity.pojo.Cost;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@TableName(value = "style")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StyleVo implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "style_name")
    private String styleName;

    @TableField(value = "style_images")
    private String styleImages;

    @TableField(value = "wares_id")
    private Long waresId;

    @TableField(value = "is_delete")
    private Integer isDelete;

    private List<Cost> cost;
}
